export default defineAppConfig({
  pages: [
    "pages/home/index",
    "pages/report/index",
    "pages/record/index",
    "pages/user/index",
    "pages/login/index",
    "pages/detail/index",
    "pages/user/components/index",
    "pages/home/components/index",
  ],
  tabBar: {
    color: "#666",
    selectedColor: "#f4ea2a",
    backgroundColor: "#fafafa",
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/home/index",
        iconPath: "./assets/tab-bar/home.png",
        selectedIconPath: "./assets/tab-bar/home-active.png",
        text: "主页",
      },
      {
        pagePath: "pages/report/index",
        iconPath: "./assets/tab-bar/book.png",
        selectedIconPath: "./assets/tab-bar/book-active.png",
        text: "学习报告",
      },
      {
        pagePath: "pages/record/index",
        iconPath: "./assets/tab-bar/camera.png",
        selectedIconPath: "./assets/tab-bar/camera-active.png",
        text: "拍摄记录",
      },
      {
        pagePath: "pages/user/index",
        iconPath: "./assets/tab-bar/user.png",
        selectedIconPath: "./assets/tab-bar/user-active.png",
        text: "个人中心",
      },
    ],
  },

  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
});
